package com.qiang.test03;

public class Test {
    public static void main(String[] args) {
        Eat01 e = new Eat01();
        e.Eat();
        Eat a = new Eat() {
            @Override
            public void Eat() {
                System.out.println("喝水");
            }
        };
        a.Eat();
    }
}
